// 从cube-ui中引入createAPI方法
import { createAPI } from 'cube-ui'
import Vue from 'vue'
// 引入header-detail组件
import HeaderDetail from 'components/header-detail/header-detail'
import ShopCartList from 'components/shop-cart-list/shop-cart-list'
import ShopCartSticky from 'components/shop-cart-sticky/shop-cart-sticky'
import Food from 'components/food/food'
// createAPI语法：createAPI(Vue, Component, [events, single])，这里的events和single不用管
createAPI(Vue, HeaderDetail)
createAPI(Vue, ShopCartList)
createAPI(Vue, ShopCartSticky)
createAPI(Vue, Food)
